import {http }from '../httpIndex.js'

export default {
	getClassTeacher() {
		return http.get(`app/user/getAllClassTeacherList`)
	},
	
	createOrUpdateActivity(data) {
		return http.post(`app/activity/createActivity`, data)
	},
	
	getActivityPageList(data) {
		return http.post(
			`app/activity/pageList`, data
		)
	},
	
	deleteActivityById(id) {
		return http.delete(
			`app/activity/deleteById/`+id, null
		)
	},
	getActivityById(id) {
		return http.get(`app/activity/getActivityDetailById/`+id)
	},
}